#ifndef PRESSURECHART_H
#define PRESSURECHART_H

#include <QDialog>
#include <QSqlTableModel>
#include <QGraphicsScene>

namespace Ui {
    class PressureChart;
}

class PressureChart : public QDialog {
    Q_OBJECT
public:
    PressureChart(QWidget *parent = 0);
    ~PressureChart();
    void setDb(QSqlTableModel *db);

protected:
    void changeEvent(QEvent *e);

private:
    Ui::PressureChart *ui;
    QSqlTableModel *dbModel;
    void redraw();
    QGraphicsScene scene;
};

#endif // PRESSURECHART_H
